package com.edu.bean;

import java.util.Date;

/**
 * @Author:zyn
 * @Date:2025/11/18--11:08:08
 */
public class TransTable {
    private Integer transId;
    private Integer transUserId;
    private Integer receiveUserId;
    private double transMoney;
    private Date transDate;

    public Integer getTransId() {
        return transId;
    }

    public void setTransId(Integer transId) {
        this.transId = transId;
    }

    public Integer getTransUserId() {
        return transUserId;
    }

    public void setTransUserId(Integer transUserId) {
        this.transUserId = transUserId;
    }

    public Integer getReceiveUserId() {
        return receiveUserId;
    }

    public void setReceiveUserId(Integer receiveUserId) {
        this.receiveUserId = receiveUserId;
    }

    public double getTransMoney() {
        return transMoney;
    }

    public void setTransMoney(double transMoney) {
        this.transMoney = transMoney;
    }

    public Date getTransDate() {
        return transDate;
    }

    public void setTransDate(Date transDate) {
        this.transDate = transDate;
    }

    public TransTable() {
    }

    public TransTable(Integer transUserId, Integer receiveUserId, double transMoney, Date transDate) {
        this.transUserId = transUserId;
        this.receiveUserId = receiveUserId;
        this.transMoney = transMoney;
        this.transDate = transDate;
    }

    @Override
    public String toString() {
        return "TransTable{" +
                "transId=" + transId +
                ", transUserId=" + transUserId +
                ", receiveUserId=" + receiveUserId +
                ", transMoney=" + transMoney +
                ", transDate=" + transDate +
                '}';
    }
}
